#include "PCH.h"
#include "VertexShader.h"
using namespace DeviousRenderer;

VertexShader::VertexShader(ID3D11VertexShader* pShader)
: m_pShader(pShader)
{

}

VertexShader::~VertexShader()
{
	SAFE_DELETE(m_pShader);
}

void VertexShader::Bind(ID3D11DeviceContext* deviceContext)
{
	deviceContext->VSSetShader(m_pShader);
}